//
//  FBUtilities.h
//  HahnWinery
//
//  Created by HaiNguyenThanh on 4/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AppDelegate_iPhone.h"
#import "FBDialog.h"
#import "FBRequest.h"
#import "FBSession.h"
#import "FBLoginDialog.h"


@protocol FBUtilitiesDelegate;

@interface FBUtilities : NSObject <FBSessionDelegate, FBRequestDelegate, FBDialogDelegate>
{
@private FBSession *fbSession;
	NSString *fullName;
	id <FBUtilitiesDelegate> loginDelegate;
	id viewDelegate;
	NSString *messageToPost;
}
@property (nonatomic, retain) id <FBUtilitiesDelegate> loginDelegate;
@property (nonatomic, retain) NSString *fullName;
@property (nonatomic, retain) NSString *messageToPost;
- (void) facebookLogin:(id)delegate;
- (void) postToWall:(NSString*)message;
- (NSString*) getFullName;
- (void)getFacebookName;
@end
@protocol FBUtilitiesDelegate
@optional
- (void)facebookFinishedLogin;
- (void)getUserInfo;
- (void) logout;

@end